﻿// MIT License
//
// Copyright (c) 2021-present zuohuaijun, Daming Co.,Ltd and Contributors
//
// 电话/微信：18020030720 QQ群1：87333204 QQ群2：252381476

using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Service.Order.Dto;
public class OaWorkflowsModel
{
    public string workflowId { get; set; }
    public string requestLevel { get; set; }
    public string requestName { get; set; }
    public string remark { get; set; }
    public Dictionary<string, object> otherParams { get; set; }
    public List<MainFiled> mainData { get; set; }
    public List<OADetailData> detailData { get; set; }
}

public class OADetailData
{
    public string tableDBName { get; set; }
    public List<WorkflowRequestTableRecord> workflowRequestTableRecords { get; set; }
}

public class WorkflowRequestTableRecord
{
    public int recordOrder { get; set; }
    public List<MainFiled> workflowRequestTableFields { get; set; }
}

public class MainFiled
{
    public string fieldName { get; set; }
    public string fieldValue { get; set; }
}

